-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Makefile): add fetch tags action #2167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fetch-tags is effectively an alias for git fetch --tags
. Is it worth adding a make command for it? We basically write fetch-tags
instead of git fetch --all
and this feels like an overkill and Makefile bloat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't add fetch-tags as part of the other make targets - lts just keep it separate
Also +1 to hlib comment re all remotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although it might seem as Makefile bloat, having this as a target allows referencing it in other targets easily.
Makefile
Outdated
@@ -17,7 +17,7 @@ install-hooks: | |||
.PHONY: init-hooks | |||
|
|||
## build: Build celestia-node binary. | |||
build: | |||
build: fetch-tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you remove fetch-tags from every other target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the build only contain it?
Then it is no sense to have target
Other targets can call git directly if they need to. |
73f3c2b
to
9a0d544
Compare
blocked by celestiaorg/.github#58 |
9fab3dc
to
5d6caca
Compare
1a2e501
to
441da7e
Compare
Codecov Report
@@ Coverage Diff @@
## main #2167 +/- ##
==========================================
+ Coverage 55.44% 55.96% +0.52%
==========================================
Files 212 213 +1
Lines 13576 13865 +289
==========================================
+ Hits 7527 7760 +233
- Misses 5286 5332 +46
- Partials 763 773 +10
|
1635b52
to
a030356
Compare
a030356
to
e9d8685
Compare
@@ -17,6 +17,6 @@ jobs: | |||
permissions: | |||
contents: write | |||
packages: write | |||
uses: celestiaorg/.github/.github/workflows/reusable_dockerfile_pipeline.yml@v0.1.1 # yamllint disable-line rule:line-length | |||
uses: celestiaorg/.github/.github/workflows/reusable_dockerfile_pipeline.yml@test_context # yamllint disable-line rule:line-length |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test branch w modified reusable_dockerfile_pipeline
N/A |
Overview
Added fetching tags action in order to get the correct semantic version.
Checklist